extends Area2D


@export var bullet_speed : float = 150


func _ready() -> void:
	await get_tree().create_timer(3).timeout
	print("子弹什么都没有打中并飞向了宇宙...")
	queue_free() # 摧毁节点

# Called every frame. 'delta' is the elapsed time since the previous frame.
func _physics_process(delta: float) -> void:
	position += Vector2(bullet_speed, 0)*delta
